﻿using System;
using System.Collections.Generic;
using System.Text;

namespace daSyntaxAnalyser.SyntaxTree
{
    using daBase.Objects;

    public class ExceptStatementElement : CompoundStatementElement
    {
        public ExceptStatementElement(TokenInfo StartInfo, List<StatementsElement> Statements, List<TokenInfo> Comments) : base(StartInfo, Statements, Comments) { }

        public override string ToString()
        {
            return string.Format("except\r\n{0}end", InnerStatements());
        }
    }
}
